TK_NAME:=time-keeper-applet
TK_APPLET:=GNOME_TimeKeeperApplet.server
TK_IMAGES:=images

install: src/*.py ${TK_APPLET}
	mkdir -p /usr/lib/gnome-panel/${TK_NAME}
	cp src/*.py /usr/lib/gnome-panel/${TK_NAME}
	cp -r ${TK_IMAGES} /usr/lib/gnome-panel/${TK_NAME}
	
	mkdir -p /usr/lib/bonobo/servers/
	cp ${TK_APPLET} /usr/lib/bonobo/servers/
	
uninstall:
	-rm -r /usr/lib/gnome-panel/time-keeper-applet
	-rm /usr/lib/bonobo/servers/${TK_APPLET}
